package com.tangsm.api.demo.strategy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 策略实现类
 */
@Component("two")
public class TwoStrategy implements Strategy  {
    private static final Logger log = LoggerFactory.getLogger(TwoStrategy.class);
    @Override
    public String getMember() {
        log.info("TwoStrategy");
        return "two";
    }
}